package soft_struct_Ex;

public class SqlSelect {
	public static AutoSQL getSelectObj(String select)
	{
		AutoSQL autoSql=null;
		if(select.compareTo("Oracle")==0)
		{
			autoSql=new Oracle();
		}
		else if(select.compareTo("MySql")==0)
		{
			autoSql=new MySql();
		}
		else if(select.compareTo("SQLService")==0)
		{
			autoSql=new SQLService();
		}
		return autoSql;	
	}
}
